package sos

import (
	"github.com/gin-gonic/gin"
	"xinxiang-mutual-platform/api"
)

type SOSRouter struct {
}

func (r *SOSRouter) InitSOSRouter(router *gin.Engine) {
	//创建路由组
	sosRouter := router.Group("/sos")
	sosApi := api.ApiGroupApp.SOSApiGroup
	{
		sosRouter.POST("/inf", sosApi.CreateSOS)
		sosRouter.GET("/SOSList", sosApi.GetSOSList)
	}

}
